package com.cin.cma.common.model.finixx.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 *
 * @Date：2024/12/2 14:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BookingPosSaleResultResponse extends PosBaseResponse {

    @JsonProperty("pos_sale_op")
    @JSONField(name = "pos_sale_op")
    private String posSaleOp; // 更新为 String 类型

    @JsonProperty("pos_sale_id")
    @JSONField(name = "pos_sale_id")
    private String posSaleId;

    @JsonProperty("pos_index_id")
    @JSONField(name = "pos_index_id")
    private String posIndexId;

    @JsonProperty("pos_source")
    @JSONField(name = "pos_source")
    private String posSource;

    @JsonProperty("pos_sale_user")
    @JSONField(name = "pos_sale_user")
    private String posSaleUser;

    @JsonProperty("pos_workstation")
    @JSONField(name = "pos_workstation")
    private String posWorkstation;

    @JsonProperty("pos_gain_pass")
    @JSONField(name = "pos_gain_pass")
    private String posGainPass; // 更新为 String 类型

    @JsonProperty("pos_sys_date")
    @JSONField(name = "pos_sys_date")
    private Date posSysDate; // 系统日期

    @JsonProperty("take_good_code")
    @JSONField(name = "take_good_code")
    private String takeGoodsCode;
}
